package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


/**
 * @descreption:
 * @author: xhr
 * @date: 2022/09/16
 */
@TableName("exam")
@Data
public class Exam {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String time;
    private String teacher;
    private String state;
    private Integer courseId;
    private Integer paperId;
    @TableField(exist = false)
    private Boolean enable;
    @TableField(exist = false)
    private Boolean isAnswer;
    @TableField(exist = false)
    private String ss;
    @TableField(exist = false)
    private String st;
    @TableField(exist = false)
    private String sg;
}
